package com.ruoyi.wms.domain;

import java.util.List;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 盘点单对象 wms_inventory_count
 * 
 * @author ruoyi
 * @date 2024-10-08
 */
public class WmsInventoryCount extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 盘点单ID */
    private Long id;
    private Long deptId;

    @Override
    public Long getDeptId() {
        return deptId;
    }

    @Override
    public void setDeptId(Long deptId) {
        this.deptId = deptId;
    }
    /** 所属仓库 */
    @Excel(name = "所属仓库")
    private Long warehouseId;

    /** 所属库区 */
    @Excel(name = "所属库区")
    private Long areaId;

    /** 盘点状态 */
    @Excel(name = "盘点状态")
    private Integer status;

    /** 盘点日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "盘点日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date countDate;

    /** 盘点明细信息 */
    private List<WmsInventoryCountDetail> wmsInventoryCountDetailList;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setWarehouseId(Long warehouseId) 
    {
        this.warehouseId = warehouseId;
    }

    public Long getWarehouseId() 
    {
        return warehouseId;
    }
    public void setAreaId(Long areaId) 
    {
        this.areaId = areaId;
    }

    public Long getAreaId() 
    {
        return areaId;
    }
    public void setStatus(Integer status)
    {
        this.status = status;
    }

    public Integer getStatus()
    {
        return status;
    }
    public void setCountDate(Date countDate) 
    {
        this.countDate = countDate;
    }

    public Date getCountDate() 
    {
        return countDate;
    }

    public List<WmsInventoryCountDetail> getWmsInventoryCountDetailList()
    {
        return wmsInventoryCountDetailList;
    }

    public void setWmsInventoryCountDetailList(List<WmsInventoryCountDetail> wmsInventoryCountDetailList)
    {
        this.wmsInventoryCountDetailList = wmsInventoryCountDetailList;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("warehouseId", getWarehouseId())
            .append("areaId", getAreaId())
            .append("status", getStatus())
            .append("countDate", getCountDate())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("wmsInventoryCountDetailList", getWmsInventoryCountDetailList())
            .toString();
    }
}
